package com.kun.portal.webframe.util;

import org.hibernate.Hibernate;
import org.hibernate.collection.spi.PersistentCollection;

/**
 * Created by Administrator on 2018/7/9.
 */
public class Loaded {
    public static Object loaded(Object obj){
    if(!Hibernate.isInitialized( obj )){
        return null;
    }
        return obj;
    }
}
